package com.itcoon.demo.web.controller.serialize;/**
 * @author Athric Yu
 * 2024/11/11
 **/

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 *
 *
 * @author Athric Yu
 * 2024/11/11
 **/
@Data
public class SearchReqVO {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "name")
    private String name;

    @NotNull
    @Schema(description = "性别")
    private Gender gender;

    @Schema(description = "性别")
    private Gender[] genders;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建时间")
    private LocalDateTime[] createTimeRange;
}
